/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.entry.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.entry.entity.EntryCheckHeader;
import com.thinkgem.jeesite.modules.entry.dao.EntryCheckHeaderDao;

/**
 * 质检单Service
 * @author alex
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class EntryCheckHeaderService extends CrudService<EntryCheckHeaderDao, EntryCheckHeader> {

	public EntryCheckHeader get(String id) {
		return super.get(id);
	}
	
	public List<EntryCheckHeader> findList(EntryCheckHeader entryCheckHeader) {
		return super.findList(entryCheckHeader);
	}
	
	public Page<EntryCheckHeader> findPage(Page<EntryCheckHeader> page, EntryCheckHeader entryCheckHeader) {
		return super.findPage(page, entryCheckHeader);
	}
	
	@Transactional(readOnly = false)
	public void save(EntryCheckHeader entryCheckHeader) {
		super.save(entryCheckHeader);
	}
	
	@Transactional(readOnly = false)
	public void delete(EntryCheckHeader entryCheckHeader) {
		super.delete(entryCheckHeader);
	}
	
}